package com.xzl.org.learning_situation_analysis.service;

import com.github.pagehelper.PageInfo;
import com.xzl.org.learning_situation_analysis.entity.Subject;
import org.springframework.stereotype.Service;

/**
 * @author 夏智力
 * @FileName SubjectService
 * @date 2022/4/21 11:28
 * @Software: IntelliJ IDEA
 */
@Service
public interface SubjectService {

    int insertSubject(Subject subject);

    int delSubject(int id);

    PageInfo<Subject> selectCurrentPageSubject(int currentPage, int pageSize);
}
